Visibility

Enum defining how the user sees and can interact with an entry.

Author

fzzyhmstrs

Since

0.6.0

Parameters

visible

Whether the entry is visible. A non-visible entry will take up 0 width in the list (effectively removed from the list, visually)

skip

Whether the entry should be skipped when searching

selectable

Whether the user can interact with the entry

group

Whether the entry belongs to a group

repeatable

Whether this visibility can be applied to an entry more than once

affectedBy

Predicate to determine if this visibility is affected by another

Entries

Link copied to clipboard

Standard visibility. The Entry can be seen, searched, and interacted with.

Link copied to clipboard

Entry hidden by a user action like toggling a group, or some visibility button. Not visible nor selectable, but searchable (in case the user reverses the hidden state after searching)

Link copied to clipboard

Entry filtered by searching. Not visible nor selectable

Link copied to clipboard

Visible entry that represents a group heading

Link copied to clipboard

Filtered entry that represents a group heading

Link copied to clipboard

Hidden entry that represents a group heading

Link copied to clipboard

A disabled group heading, typically caused by a layout error

Link copied to clipboard

A header entry. Always visible, skipped in searching, and not selectable. Visibility of headers can't be changed.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun get(): DynamicListWidget.Visibility

Returns the entries current Visibility status

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.